package com.zhaopin.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "my")
public class MyRandom {

    private String secret;
    private String number;
    private String bignumber;
    private String uuid;

    public String getSecret() {
        return secret;
    }

    public String getNumber() {
        return number;
    }

    public String getBignumber() {
        return bignumber;
    }

    public String getUuid() {
        return uuid;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public void setBignumber(String bignumber) {
        this.bignumber = bignumber;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    @Override
    public String toString() {
        return "MyRandom{" +
                "secret='" + secret + '\'' +
                ", number='" + number + '\'' +
                ", bignumber='" + bignumber + '\'' +
                ", uuid='" + uuid + '\'' +
                '}';
    }
}
